Local and Instance Variables in Java